﻿namespace B.S.XZYData.Api.Read.Application.Command.Account
{
    public class AccountDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; } = string.Empty;
        /// <summary>
        /// 真实名称
        /// </summary>
        public string RealName { get; set; } = string.Empty;
        /// <summary>
        /// 是否启用(true(启用)\false(禁用))
        /// </summary>
        public bool IsState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 角色id
        /// </summary>
        public List<long> RoleIds { get; set; } = new List<long>();
        /// <summary>
        /// 角色名称
        /// </summary>
        public List<string> RoleName { get; set; } = new List<string>();
    }
}
